package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 闲鱼联盟CPA佣金配置对象 idle_affiliate_cpa_commission_config
 * 
 * @author ruoyi
 */
public class IdleAffiliateCpaCommissionConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 推广类型：1-推荐新用户，2-推荐新朋友购买，3-用户标签 */
    @Excel(name = "推广类型", readConverterExp = "1=推荐新用户,2=推荐新朋友购买,3=用户标签")
    private Integer promotionType;

    /** 佣金金额 */
    @Excel(name = "佣金金额")
    private BigDecimal commissionAmount;

    /** 是否启用：0-禁用，1-启用 */
    @Excel(name = "是否启用", readConverterExp = "0=禁用,1=启用")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setPromotionType(Integer promotionType) 
    {
        this.promotionType = promotionType;
    }

    public Integer getPromotionType() 
    {
        return promotionType;
    }

    public void setCommissionAmount(BigDecimal commissionAmount) 
    {
        this.commissionAmount = commissionAmount;
    }

    public BigDecimal getCommissionAmount() 
    {
        return commissionAmount;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("promotionType", getPromotionType())
            .append("commissionAmount", getCommissionAmount())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
} 